﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>3G手机企业信息发布管理系统平台</title>
<link rel="stylesheet" type="text/css" href="<?php echo $_BASE_DIR; ?>css/styles_login.css">

</head>

<body id="login">

<div id="wrappertop"></div>
<div id="wrapper">
        <div id="content">
            <div id="header">
                <h1>           
                <img src="<?php echo $_BASE_DIR; ?>img/zgdx_right.png"/></h1>
            </div>
            <div id="darkbanner" class="banner320">
                <h2>登录</h2>
            </div>
            <div id="darkbannerwrap">
            </div>

            <form name="form1" method="post" action="<?php echo url('user/login'); ?>"
                    onsubmit="
                    if (this.user_name.value == '') { 
                    alert('请输入用户名'); 
                    return false; }
                    else { 
                        if (this.user_password.value == '') 
                        { 
                            alert('请输入用户密码'); 
                            return false; 
                        }
                        return true; 
                    }"
            >
            <fieldset class="form">
                    <label for="user_name">用户名:</label>
                    <input name="username" id="user_name" type="text" value="" />
                </p>
                <p>
                    <label for="user_password">密码:</label>
                    <input name="password" id="user_password" type="password" />
                </p>
                <button type="submit" class="positive" name="Submit">
                    <img src="<?php echo $_BASE_DIR; ?>img/key.png" alt="Announcement"/>登录</button>
                    <ul id="forgottenpassword">
                        <?php if($open_reg_or_not == 1001): ?> 
                        <span align="right"><a href="<?php echo url('user/register')?>">注册</a></span>
                        <?php endif; ?>
                    <li class="boldtext"></li>
                    <li><a href="forgot.php"></a></li>
                </ul>
            </fieldset>

        </div>
    </div>   

<div id="#footer">
    <p>
      <a href="#" target="_blank">C </a>
      <a href="#" target="_blank">中国电信3G手机企业信息发布系统1.0</a>
    </p>
</div>
</body>
</html>